package com.pureut.system.domain.dto;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: pureut
 * @Date: 2024-12-05 17:16:19
 * @Desc: 供应商准入
 */
@ExcelIgnoreUnannotated
@Data
public class SupplierAccessPageListDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 供应商名称
     */
    @ExcelProperty("供应商名称")
    @ColumnWidth(value = 20)
    private String supplierName;

    /**
     * 供应商编码
     */
    @ExcelProperty("供应商编码")
    @ColumnWidth(value = 20)
    private String supplierCode;

    /**
     * 供应商类别
     */
    @ExcelProperty("供应商类别")
    @ColumnWidth(value = 20)
    private String supplierCategory;

    /**
     * 准入状态
     */
    @ExcelProperty("准入状态")
    @ColumnWidth(value = 20)
    private String status;

    /**
     * 申请人
     */
    @ExcelProperty("申请人")
    @ColumnWidth(value = 20)
    private String proposerBy;

    /**
     * 申请部门
     */
    @ExcelProperty("申请部门")
    @ColumnWidth(value = 20)
    private String applicationDept;

    /**
     * 申请时间
     */
    @ExcelProperty("申请时间")
    @ColumnWidth(value = 20)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date applicationDate;

    /**
     * 开发原因
     */
    @ExcelProperty("开发原因")
    @ColumnWidth(value = 20)
    private String developmentReason;

    /**
     * 进程/结果
     */
    @ExcelProperty("进程/结果")
    @ColumnWidth(value = 20)
    private String consequence;

    /**
     * 紧急程度
     */
    @ExcelProperty("紧急程度")
    @ColumnWidth(value = 20)
    private String urgencyDegree;

    /**
     * 供应商地址
     */
    @ExcelProperty("供应商地址")
    @ColumnWidth(value = 20)
    private String supplierAddress;
    /**
     * 供应商交易类型
     */
    @ExcelProperty("供应商交易类型")
    @ColumnWidth(value = 20)
    private String transactionType;
    private String supplierLevel;
}
